﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="showdata.aspx.cs" Inherits="homewizard.showdata" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
     <form id="form1" runat="server">
     <div>
    
         <br />
         <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
             Text="Delete All" />
        <asp:DropDownList ID="drpid" runat="server"  AutoPostBack="true"
             onselectedindexchanged="drpid_SelectedIndexChanged">

        <asp:ListItem Value="0">--Select Rows---</asp:ListItem>
        <asp:ListItem Value="10">10</asp:ListItem>
        <asp:ListItem Value="20">20</asp:ListItem>
        <asp:ListItem Value="50">50</asp:ListItem>
        <asp:ListItem Value="100">100</asp:ListItem>
        <asp:ListItem Value="1000" >ALL</asp:ListItem>
        </asp:DropDownList>

         <br />
         <br />
    <asp:GridView ID="grd" runat="server" style="Width:800px" 
             HorizontalAlign="Left">
              <rowstyle  Width="800px" />
        <alternatingrowstyle  Width="800px"/>
             </asp:GridView>
    </div>
    </form>
</body>
</html>
